package com.booter.producer.dao;

import com.booter.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface  UserMapper {

	void insert(User user);

	User getByUserId(@Param("userId") Long id);

	User getById(@Param("id") Long id);
}
